package com.shopowner.service;


import com.shopowner.dto.DTO;
import com.shopowner.entity.Coach;
import com.shopowner.page.PageInfo;

public interface CoachService {
    /**
     * 查询全部教练员
     * @return
     */
    public DTO<Coach> getAllCoachs() throws Exception;
    /**
     * 删除教练员
     * @return
     */
    public DTO<Coach> deleteCoachByCno(String cno) throws Exception;
    /**
     * 修改教练员
     * @return
     */
    public DTO<Coach> updateCoachByCno(Coach coach) throws Exception;
    /**
     * 增加教练员
     * @return
     */
    public DTO<Coach> addCoach(Coach coach) throws Exception;
    /**
     * 分页查询教练员
     * @return
     */
    public DTO<Coach> getCoachByPage(PageInfo pageInfo) throws Exception;
    /**
     * 查询教练员附上儿童
     * @return
     */
//    public DTO<Coach> selectCoachWithChildren(String cno) throws Exception;
//
//    public DTO<Coach> getCoachWithOrdrees(String cno) throws Exception;
//
//    public DTO<Coach> sendCodeMail(String cname) throws Exception;
//
//    public DTO<Coach> updateCoachByPwd(CoachVo coachVo) throws Exception;
//
//    public DTO<Coach> activate(String  cno)  throws Exception;


}
